<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>
        @keyframes anim {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }
        
        .box {
            width: 100px;
            height: 100px;
            margin: 100px auto;
            border-radius: 50%;
            overflow: hidden;
            animation: anim 3s linear infinite;
        }
        
        .box img {
            width: 100%;
            height: 100%;
        }
        
        .box:hover {
            animation-play-state: paused;
        }
    </style>
</head>

<body>
    <div class="box">
        <img src="./img/bg.png" alt="">
    </div>
</body>

</html>